<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Dream</title>

<script type="text/javascript" src="<?php echo __PUBLIC__ ?>/js/jquery-1.7.2.min.js"></script>
    <script type="text/javascript">
		//这里定义APP路径，在下面的index.js就可以使用
		var APP = "<?php echo __APP__ ?>";
		var PUBLIC = '<?php echo __PUBLIC__ ?>'
	</script>
<script src="<?php echo __PUBLIC__ ?>/js/index.js" type="text/javascript" charset="utf-8"></script>	
<link href="<?php echo __PUBLIC__ ?>/css/index.css" rel="stylesheet" type="text/css">

</head>

<body>

<div class="big">
	<?php foreach($data as $v): ?>
		<div class="xing">
			<div class="liuyan">
				<p class="p1"></p>
				<div class="p2"><?php echo $v['content'] ?></div>
				<p class="p3"><?php echo $v['time'] ?></p>
			</div>
		</div>
	<?php endforeach ?>
</div>
<div class="box1">
	<div class="zi"></div>
	<div class="zhu">
	   <a href="javascript:void(0)">注册</a>
	   <div class="zc">
	   	   <form action="" method="post" name="zhuce">
	   	       <br/>
	   	       <h4 class="ming">用户名:</h4>
	   	       <input type="text" class="name" name="username" placeholder="请输入用户名!"/>
	       	   <div class="yz"></div>
	       	   <h4 class="password">密码:</h4>
	       	   <input type="password" class="diyici" name="password" placeholder="请输入用户密码!"/>
	       	   <div class="yz"></div>
	       	   <h4 class="zaici">确认密码:</h4>
	       	   <input type="password" class="zaici" name="password1" placeholder="请再次输入用户密码!"/>
	       	   <div class="yz"></div>
	       	   <br/>
	       	   <input class="zhuce" type="submit" value="注册" />  
           </form>
	   </div>
	</div>
	<div class="deng">
	   <a href="javascript:void(0)">登陆</a>
       <div class="zc">
	   	   <form action="" method="post">
	   	       <br/>
	   	       <h4 class="ming">用户名:</h4>
	   	       <br/>
	   	       <input type="text" class="name" placeholder="请输入用户名!"/>
	       	   <br/>
	       	   <br/>
	       	   <h4 class="password">密码:</h4>
	       	   <br/>
	       	   <input type="password" class="password" placeholder="请输入用户密码!"/>
	       	   <div class="yz"></div>
	       	   <br/>
	       	   <br/>
	       	   <input class="denglu" type="submit" value="登陆" />  
           </form>
	   </div>
	</div>
	<div class="xuyuan">
		<a href="javascript:void(0)">我要许愿</a>
		<div class="zc">
	   	   <form action="" method="post" name="xuyuan" class="tianpeng">
	   	       <br/>
	   	       <h4 class="ming">尊敬的用户: </h4>
	   	       <br/>
	   	       <h4 class="ming">欢迎光临!</h4>
	       	   <br/>
	       	   <h4 class="password">亲!请填写您的心愿.祝您心想事成！</h4>
	       	   <br/>
	       	   <textarea name="content" class="content"></textarea>
	       	   <div class="yz"></div>
	       	   <br/>
	       	   
	       	   <input class="xy" type="submit" value="许愿!" />  
           </form>
	   </div>
	</div>
</div>


</body>
</html>
